package com.sc.highspeed.db.dao;

import com.sc.highspeed.db.model.EsCarInfoModel;
import com.sc.highspeed.db.model.EsCarInfoTempModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Admin on 2017/12/7.
 */
public interface EsCarInfoTempDao {

    List<EsCarInfoTempModel> getEsCarInfoByNumber(@Param("number") String number, @Param("color") String color);
    EsCarInfoModel getEsCarInfoById(int id);
    List<EsCarInfoTempModel> getEsCarInfoList(@Param("startRow") int startRow, @Param("pageSize") int pageSize);
    int insertEsCarInfo(EsCarInfoModel esCarInfoModel);
    int updateEsCarInfoById(EsCarInfoTempModel esCarInfoTempModel);
    int deleteEsCarInfoById(int id);
    List<EsCarInfoTempModel> getEsCarInfoListByUsername(String creatorUsername);
    List<EsCarInfoTempModel> getHazyEsCarInfo(@Param("number") String number, @Param("color") String color);
    EsCarInfoTempModel getEsCarInfoByEsId(int esId);
    int getEsCarInfoNumber();

}
